package pong.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface ComRemota extends Remote{
	
	void pruebaConexion() throws RemoteException;
	
	String getUUID() throws RemoteException;

	void add(String hostname, ComRemota host) throws RemoteException;

	String getNombreEnLista() throws RemoteException;

	void setGame(boolean b) throws RemoteException;

	void actualizarLista() throws RemoteException;

	boolean irJuego(ComRemota host) throws RemoteException;

	String getUsername() throws RemoteException;

	void abajo() throws RemoteException;

	void arriba() throws RemoteException;

}
